<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='Field'>/**
</span>* @fileOverview 只读字段
* @ignore
* @author dxq613@gmail.com
*/

var Field = require(&#39;./base&#39;);
<span id='BUI-Form-Field-ReadOnly'>/**
</span> * 表单隐藏域
 * @class BUI.Form.Field.ReadOnly
 * @extends BUI.Form.Field
 */
var readonlyField = Field.extend({

},{
  ATTRS : {
<span id='BUI-Form-Field-ReadOnly-property-controlTpl'>    /**
</span>     * 内部表单元素的容器
     * @type {String}
     */
    controlTpl : {
      value : &#39;&lt;input type=&quot;text&quot; readonly=&quot;readonly&quot;/&gt;&#39;
    }
  }
},{
  xclass : &#39;form-field-readonly&#39;
});
module.exports = readonlyField;
</pre>
</body>
</html>
